/**
 * Created by yananliu on 2017/12/18.
 */

import * as React from 'react';

require('./tabComponent.scss');

export class TabComponent extends React.Component{

    componentDidMount(){


    }


    componentDidUpdate(nextProps:Object){


    }

    render(){

        return <div className="weui-flex tab">
            <div className="weui-flex__item">
                <div className="wrap">
                    <span className="tab-name">
                        <span className="iconfont icon-home" />首页
                    </span>
                </div>
            </div>
            <div className="weui-flex__item">
                <div className="wrap">
                    <span className="tab-name">
                        <span className="iconfont icon-like" />收藏
                    </span>
                </div>
            </div>
            <div className="weui-flex__item">
                <div className="wrap">
                    <span className="tab-name">
                        <span className="iconfont icon-cart" />购物车
                    </span>
                </div>
            </div>
            <div className="weui-flex__item">
                <div className="wrap">
                    <span className="tab-name">
                        <span className="iconfont icon-people" />我的
                    </span>
                </div>
            </div>
        </div>

    }

}